/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package stackCalc.command;

/**
 *
 * @author signal
 */
public class BadArgumentsException extends Exception {
	
	String mistake;
	
	public BadArgumentsException()
	{
		super();
		mistake = "Unknow";
	}
	
	public BadArgumentsException(String error)
	{
		super(error);
		mistake = error;
	}
	
	public String getError()
	{
		return mistake;
	}
	
}
